﻿/*
 * Ejemplo de Statemanager XNA 4.0
 * 
 * 100% XNA & XNACommunity- 2010
 * http://100xna.wordpress.com/
 * http://xnacommunity.codeplex.com
 * 
 */

using System;

namespace StateExample
{
    public class MenuItem
    {
        public string Name; //Nombre del item
        public event EventHandler Activate;
        public bool IsDisabled = false;


        public MenuItem(string name)
        {
            Name = name;
        }


        public void PerformActivate()
        {
            if (Activate != null)
                Activate(this, null);
        }

    }
}
